#!bin/bash
#Bai 5
echo "Cong (+)"
echo "Tru (-)"
echo "Nhan (*)"
echo "Chia (/)"
echo "Ket thuc (q)"
echo -n "Ban chon phep tinh nao ?"; read op

if [ $op = 'q' ] ;then
		echo "Thoat"
	else
		echo -n "Nhap so nguyen thu 1:"; read a
		echo -n "Nhap so nguyen thu 2:"; read b

		case $op in
		"+") echo  "$a+$b=`expr $a + $b`";;
		"-") echo "$a-$b=`expr $a - $b`";;
		"*") echo "$a*$b=`expr $a \* $b`";;
		"/") echo "$a/$b=`expr $a / $b`";;
		  *) echo "Chon sai phep toan";;
		esac
	fi
